package com.military;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan//开启ServletBoot对servlet组件的支持
@MapperScan("com.military.mapper")
public class MilitaryManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(MilitaryManagementApplication.class, args);
    }

}
